package cn.uc.ucgc.community.upgrade.conf;

import java.io.File;
import java.util.List;

/**
 * property/xml类型文件，需要做添加配置的任务
 * 
 * @author laizy@ucweb.com
 * @createDate 2014-4-1
 *
 */
public class AddJob {
    private JobType type;
    /*文件路径-绝对路径*/
    private File path;
    /*需要替换的keys*/
    private List<MacroItem> addItems;

    public AddJob(JobType type, File path, List<MacroItem> addItems) {
        this.type = type;
        this.path = path;
        this.addItems = addItems;
    }

    public JobType getType() {
        return type;
    }

    public File getSrcPath() {
        return path;
    }

    public List<MacroItem> getAddItems() {
        return addItems;
    }
}
